package com.health.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单树型结构列表信息")
public class MenuTreeListDTO {
    @ApiModelProperty("菜单id")
    private Long id;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("排序")
    private Integer orderNum;
    @ApiModelProperty("路径")
    private String path;
    @ApiModelProperty("组件路径")
    private String component;
    @ApiModelProperty("是否隐藏")
    private Boolean hidden;
    @ApiModelProperty("菜单子级")
    private List<MenuTreeListDTO> children;
    @ApiModelProperty("创建时间")
    private LocalDate createTime;
}
